package model;

public class Constantes {
		
	// Constantes determinant les types d'action
	public static final int DEMANDE_D_INSCRIPTION = 100;
	public static final int DEMANDE_DE_CONNEXION = 101;
	public static final int DEMANDE_CREATION_CONFERENCE = 102;
	public static final int DEMANDE_LISTE_CONFERENCE_PUBLIQUE = 103;
	public static final int DEMANDE_LISTE_CONFERENCE_PRIVEE = 109;
	public static final int DEMANDE_REJOINDRE_CONFERENCE = 104;
	public static final int DEMANDE_VALIDATION_PROFILE = 106;
	public static final int DEMANDE_INFO_SUPERVISION = 110;
	//Ajout pour la demande de liste
	public static final int DEMANDE_LISTE_SERVEUR = 105;
	public static final int CONFIRMATION_PROFILE = 107;
	public static final int SUPPRESSION_PROFILE = 108;
	public static final int DEMANDE_INFOS_PERSONELLES_UTILISATEUR = 111;
	public static final int DEMANDE_LISTE_PARTICIPANT = 112;
	
	
	//Constantes determinant le type de liste � demander au serveur
	public static final int LISTE_JOURS = 200;
	public static final int LISTE_MOIS = 201;
	public static final int LISTE_ANNEE = 202;
	public static final int LISTE_HEURES = 203;
	public static final int LISTE_MINUTES = 204;
	public static final int LISTE_IDREJCONF = 205;
	public static final int LISTE_CONFERENCIER = 206;
	public static final int LISTE_ADMINCONF = 207;
	public static final int LISTE_TYPESCONF = 208;
	public static final int LISTE_ROLEPARTICIPANTS = 209;
	public static final int LISTE_PARTICIPANTS = 210;
	
		
	// Constante afin de l'etat du Micro
	public static final int MICRO_NO_OK = 00;
	public static final int MICRO_OK = 11;
	public static final int MICRO_ASK = 110;
	public static final int MICRO_SPEAK = 111;
	
	// Constantes sur le Role de l'user sur une Conf
	public static final int ROLE_CONFERENCIER=496;
	public static final int ROLE_ORATEUR=497;
	public static final int ROLE_AUDITEUR=498;
	public static final int ROLE_ADMIN_CONF=499;
	public static final int ROLE_ADMIN_SYS=500;	
	
	// Constante afin de déterminer les demande d'une confrence
	public static final int DEMANDE_PLAY_STOP_DemandeParole=601;
	public static final int DEMANDE_QUITE_CONFERENCE=602;
	
	// Constante pour le retour d'information sur une requete SQL
	public static final int REQUETE_OPERATION_IMPOSSIBLE=0;
	public static final int REQUETE_OPERATION_REUSSIE=1;
	
	// Constante afin de d�terminer les trois type d'utilisateurs
	static final int USAGER_ANONYME=498;
	static final int USAGER_INSCRIT=499;
	static final int USAGER_ADMIN=500;
	
	static final String USAGER_ANONYME_S="anonyme";
	static final String USAGER_INSCRIT_S="inscrit";
	static final String USAGER_ADMIN_S="admin";
	
	public 	static final String ROLE_CONFERENCIER_STRING = "conferencier";
	public 	static final String ROLE_ORATEUR_STRING = "orateur";
	public 	static final String ROLE_AUDITEUR_STRING = "auditeur";
	public 	static final String ROLE_ADMINCONF_STRING = "adminConf";
	
}